package com.yunxi.otd.service;

import com.yunxi.core.web.ApiResult;
import com.yunxi.otd.pojo.OtdOrderCirWeekVersionQueryVO;
import com.yunxi.otd.pojo.OtdOrderMonthVersionChangeStateVO;
import java.lang.reflect.InvocationTargetException;
import java.util.*;
import com.github.pagehelper.PageInfo;
import com.yunxi.otd.pojo.OtdOrderCirWeekVersionVO;

/**
 * <p>
 * 周CIR预测版本管理 服务类
 * </p>
 *
 * @author XUQI
 * @since 2019-10-14
 */
public interface OtdOrderCirWeekVersionDubboService {

    OtdOrderCirWeekVersionVO getById(String id) ;

    void saveOrUpdate(OtdOrderCirWeekVersionVO otdOrderCirWeekVersionVO) ;

    /**
     * 删除版本
     * @param ids ids
     * @return ApiResult
     */
    ApiResult removeByIds(List<String> ids);

    PageInfo<OtdOrderCirWeekVersionVO> findPageByVO(OtdOrderCirWeekVersionQueryVO queryVO,Integer pageNum, Integer pageSize) ;

    List listByVo(OtdOrderCirWeekVersionVO otdOrderCirWeekVersionVO);

    ApiResult changeState(OtdOrderCirWeekVersionVO changeStateVO);

    /**
     * 设置默认版本
     * @param id id
     * @return  ApiResult
     */
    ApiResult setDefault(String id);
}
